package com.example.boot.rabbitmq.producer.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ccubee
 * @since 21-3-6 22:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Configuration
@ConfigurationProperties(prefix = "rabbit1")
@EnableConfigurationProperties(RabbitProperties.class)
public class RabbitProperties {


    private String exchangeDlx;

    private String exchangeNormal;
    private String exchangeTopic;

    private Integer timeOut;

    private String queueDlx;

    private String dlxKey;

    private String queueOrder;

    private String queueNormal;

    private String queueTopic;
    private String orderKey;

    private String sendOrderKey;

}
